package org.jeecg.modules.param.maintain.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 运维开关锁记录
 * @Author: 月月鸟
 * @Date:   2021-07-13
 * @Version: V1.0
 */
@Data
@TableName("bike_pile_lock")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_pile_lock对象", description="运维开关锁记录")
public class BikePileLock implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String code;
	/**开锁时间*/
	@Excel(name = "开锁时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开锁时间")
    private java.util.Date pickTime;
	/**开锁人*/
	@Excel(name = "开锁人", width = 15)
    @ApiModelProperty(value = "开锁人")
    private java.lang.String pickUser;
	/**开锁车桩*/
	@Excel(name = "开锁车桩", width = 15)
    @ApiModelProperty(value = "开锁车桩")
    private java.lang.String pickPile;
	/**关锁时间*/
	@Excel(name = "关锁时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "关锁时间")
    private java.util.Date parkTime;
	/**关锁车桩*/
	@Excel(name = "关锁车桩", width = 15)
    @ApiModelProperty(value = "关锁车桩")
    private java.lang.String parkPile;
	/**开锁方式(1扫码2管理卡3后台)*/
	@Excel(name = "开锁方式(1扫码2管理卡3后台)", width = 15)
    @ApiModelProperty(value = "开锁方式(1扫码2管理卡3后台)")
    private java.lang.String useType;
	/**用车时长(分钟)*/
	@Excel(name = "用车时长(分钟)", width = 15)
    @ApiModelProperty(value = "用车时长(分钟)")
    private java.lang.Integer useLong;
	/**车辆*/
	@Excel(name = "车辆", width = 15)
    @ApiModelProperty(value = "车辆")
    private java.lang.String vehicleId;
	/**车辆状态(1维护中2已维护)*/
	@Excel(name = "车辆状态(1维护中2已维护)", width = 15,dicCode = "vehicle_status")
    @ApiModelProperty(value = "车辆状态(1维护中2已维护)")
    @Dict(dicCode = "vehicle_status")
    private java.lang.String vehicleStatus;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
}
